import httpRequest from "../index"

/**
 * @description: 获取留言列表
 * @return {*}
 */

export const getBoardList = (params:any) => {
  return httpRequest.post('/leavemsg/list',params)
}
/**
 * @description: 评论或回复
 * @return {*}
 */

export const addreply = (params:any) => {
  return httpRequest.post('/leavecomment/add',params)
}
/**
 * @description: 新增留言
 * @return {*}
 */

export const addBoard = (params:any) => {
  return httpRequest.post('/leavemsg/add',params)
}
